<extend name="./Application/Admin/View/Index/index.html"/>

<block name="box">

    <div class="view-product">
        <div class="info-center">
            <div class="manage-head">
                <h6 class="padding-left manage-head-con">店铺设置</h6>
            </div>
        </div>
        <div class="layui-container" style="margin-top: 20px">
            <div class="layui-row">

                <div class="layui-col-md5 layui-col-md-offset1">
                    <form class="layui-form" action="{{:U('system/infoedit')}}" method="post">
                        <div class="layui-form-item">
                            <input type="hidden" name="id" value="{{$res['id']}}">
                            <label class="layui-form-label">店铺名</label>
                            <div class="layui-input-inline">
                                <input type="text" name="name" required  lay-verify="required"  autocomplete="off" class="layui-input" value="{{$res['name']}}">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">电话</label>
                            <div class="layui-input-inline">
                                <input type="text" name="tel" required  lay-verify="required"  autocomplete="off" class="layui-input"value="{{$res['tel']}}">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">邮箱</label>
                            <div class="layui-input-inline">
                                <input type="text" name="email" required  lay-verify="required"  autocomplete="off" class="layui-input"value="{{$res['email']}}">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">地址</label>
                            <div class="layui-input-inline">
                                <input type="text" name="address" required  lay-verify="required"  autocomplete="off" class="layui-input"value="{{$res['address']}}">
                            </div>
                        </div>



                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button class="layui-btn" lay-submit >立即提交</button>
                                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                            </div>
                        </div>
                    </form>

                </div>
            </div>
        </div>
        <script>
            //Demo
            layui.use('form', function(){
                var form = layui.form;

                //监听提交
                form.on('submit(formDemo)', function(data){
                    layer.msg(JSON.stringify(data.field));
                    return false;
                });
            });
        </script>

        <div class="show-page padding-big-right hidden">
            <div class="page">
            </div>
        </div>
    </div>



</block>